<extend name="Layout:layout_dialog" />
<block name="body_main">
    <div class="ui-tabs ui-widget ui-widget-content">
        <ul class="ui-tabs-nav ui-helper-clearfix ui-widget-header">
            <li class="ui-state-default ui-corner-top"><a href="{:U('profile_edit')}" class="ui-tabs-anchor" >基本资料</a></li>
            <li class="ui-state-default ui-corner-top ui-state-active"><a href="{:U('password_edit')}" class="ui-tabs-anchor" >修改密码</a></li>
        </ul>
    </div>
    <form action="{:U('password_edit_save')}" method="post" class="xsui-form">
        <fieldset>
            <div class="xsui-form-field">
                <label>新密码：</label>
                <input type="password" name="password" placeholder="新密码" required="required" />
            </div>
            <div class="xsui-form-field">
                <label>再次输入密码：</label>
                <input type="password" name="repassword" placeholder="再次输入密码" required="required" />
            </div>
        </fieldset>
        <button type="submit" class="ui-state-default"><i class="fa fa-save"></i>保存</button>
        <button type="reset" class="ui-state-default">重置</button>
        <input type="hidden" name="uid" value="{$uid}"/>
    </form>    
</block>